ceb3358a8b84990e631451ddb07e6e41f468c56d,src/com/opencms/flex/CmsDumpLoader.java,CmsDumpLoader,init,#A_OpenCms#,69
Before Change
m_cache = (CmsFlexCache)openCms.getRuntimeProperty(this.C_LOADER_CACHENAME);
if (m_cache == null) {
source.org.apache.java.util.Configurations c = openCms.getConfiguration();
boolean enabled = c.getBoolean("flex.cache.enabled", true);
boolean cacheOffline = c.getBoolean("flex.cache.offline", true);
m_cache = new CmsFlexCache(enabled, cacheOffline);
openCms.setRuntimeProperty(this.C_LOADER_CACHENAME, m_cache);
}
log(this.getClass().getName() + " initialized!");
}
After Change
m_cache = (CmsFlexCache)openCms.getRuntimeProperty(this.C_LOADER_CACHENAME);
if (m_cache == null) {
m_cache = new CmsFlexCache( openCms );
openCms.setRuntimeProperty(this.C_LOADER_CACHENAME, m_cache);
}
log(this.getClass().getName() + " initialized!");
}